import Vue from 'vue'
import App from './App'

import './uni.promisify.adaptor'
// 引入全局TuniaoUI
import TuniaoUI from 'tuniao-ui'
// 引入store
import store from './store'

Vue.config.productionTip = false
App.mpType = 'app'

Vue.use(TuniaoUI)

// 引入TuniaoUI提供的vuex简写方法
let vuexStore = require('@/store/$tn.mixin.js')
Vue.mixin(vuexStore)

const app = new Vue({
	store,
	...App
})

app.$mount()